package com.thoughtworks.shoutbox.client.services;

import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;

public abstract class ServiceCallback<T> implements AsyncCallback<T> {
	@Override
	public void onFailure(Throwable caught) {
		Window.alert("Callback failed. Reason: "+caught.getMessage());
	}
}
